package com.herysoft.scm.model.sys;

import java.sql.Date;
import java.sql.Timestamp;




public class User {
	private int id;
	
	private Group group;
	
	private String loginName;  
	  
    private String pwd;  
  
    private String name;  
  
    private String email;
    
    private Date birthday;
    
    private boolean enabled;
    
    private Timestamp createTime;
  

	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public Group getGroup() {
		return group;
	}


	public void setGroup(Group group) {
		this.group = group;
	}


	public String getLoginName() {
		return loginName;
	}


	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}


	public String getPwd() {
		return pwd;
	}


	public void setPwd(String pwd) {
		this.pwd = pwd;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getEmail() {
		return email;
	}


	public void setEmail(String email) {
		this.email = email;
	}


	public Date getBirthday() {
		return birthday;
	}


	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}


	public boolean getEnabled() {
		return enabled;
	}


	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}


	public Timestamp getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}


	public String toString(){
		return "[{"+super.toString()+"},("+this.id+"),("+this.name+"),("+this.loginName+"),("+this.pwd+"),("+this.email+"),("+this.enabled+"),("+this.birthday+"),("+this.createTime+"),("+this.getGroup().toString()+")]";
	}
}
